package com.monkey.generator.dao;

import com.monkey.generator.model.TReward;
import com.monkey.generator.model.TRewardExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TRewardMapper {
    long countByExample(TRewardExample example);

    int deleteByExample(TRewardExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TReward record);

    int insertSelective(TReward record);

    List<TReward> selectByExample(TRewardExample example);

    TReward selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TReward record, @Param("example") TRewardExample example);

    int updateByExample(@Param("record") TReward record, @Param("example") TRewardExample example);

    int updateByPrimaryKeySelective(TReward record);

    int updateByPrimaryKey(TReward record);
}